use "Merged Dataset.dta"

eststo therm_d: regress therm_d clinton terror_attack_soon clinton_attack party_id education race_white income gender
eststo therm_r: regress leader_d clinton terror_attack_soon clinton_attack party_id education race_white income gender
eststo therm_r: regress therm_r trump terror_attack_soon trump_attack party_id education race_white income gender
eststo therm_r: regress leader_r trump terror_attack_soon trump_attack party_id education race_white income gender

esttab using Table4.rtf, replace  star (* 0.10 ** 0.05 *** 0.01) label ///
b(2) p(2) r2(2) ///
title (Terrorism and Feelings toward 2012 nominees) ///
addnote ("Source:ANES 2012")

